package com.github.codemperor.api;

import com.github.codemperor.api.base.IBaseApi;
import com.github.codemperor.api.security.annotation.EmprApi;
import com.github.codemperor.api.security.enums.ApiMethodEnum;
import com.github.codemperor.api.security.enums.ApiModuleEnum;

/**
 * 所有open接口顶级抽象
 */
public interface IFrontendApi extends IBaseApi {
    /**
     * 测试
     */
    @EmprApi(desc = "测试hello word", method = ApiMethodEnum.GET, module = ApiModuleEnum.AUTH)
    String OPEN_HELLO_WORLD = FRONTEND_API_PREFIX + "/auth/hello";
    @EmprApi(desc = "用于后台登陆", method = ApiMethodEnum.POST, module = ApiModuleEnum.AUTH)
    String OPEN_ADMIN_LOGIN = FRONTEND_API_PREFIX + "/auth/admin/login";
}
